package com.example.consumer;

import com.alibaba.dubbo.config.annotation.Reference;
import com.example.provider.service.HiService;
import org.springframework.stereotype.Component;

/**
 * @author: wukangrong
 * @date: 2020/12/1 16:10
 * @description:
 */
@Component
public class Consumer {


    @Reference(version = "1.0.0")
    HiService hiService;

    public void test() {
        hiService.sayHi();
    }
}
